{#<!DOCTYPE html>#}
{#<html lang="en">#}
{#<head>#}
{#    <meta charset="UTF-8">#}
{#    <title>Title</title>#}
{#</head>#}
{#<body>#}
{#<form action="" method="post" novalidate>#}
{#    {% csrf_token %}#}
{#    <p>#}
{#        <label for="{{ form_obj1.name.id_for_label }}"> {{ form_obj1.name.label }} :</label>#}
{#        {{ form_obj1.name }} <span style="color: red">{{ form_obj1.name.errors.0 }}</span>#}
{#    </p>#}
{##}
{#    <p>#}
{#        <label for="{{ form_obj1.des.id_for_label }}"> {{ form_obj1.des.label }} :</label>#}
{#        {{ form_obj1.des }} <span style="color: red">{{ form_obj1.des.errors.0 }}</span>#}
{#    </p>#}
{##}
{#    <p>#}
{#        <label for="{{ form_obj1.ass_id.id_for_label }}"> {{ form_obj1.ass_id.label }} :</label>#}
{#        {{ form_obj1.ass_id }} <span style="color: red">{{ form_obj1.ass_id.errors.0 }}</span>#}
{#    </p>#}
{##}
{#    <p>#}
{#        <label for="{{ form_obj1.c_name.id_for_label }}"> {{ form_obj1.c_name.label }} :</label>#}
{#        {{ form_obj1.c_name }} <span style="color: red">{{ form_obj1.c_name.errors.0 }}</span>#}
{#    </p>#}
{#    <p>#}
{#        <label for="{{ form_obj1.peo.id_for_label }}"> {{ form_obj1.peo.label }} :</label>#}
{#        {{ form_obj1.peo }} <span style="color: red">{{ form_obj1.peo.errors.0 }}</span>#}
{#    </p>#}
{##}
{##}
{#    {{ form_obj1.errors }}#}
{##}
{#    <button>添加</button>#}
{##}
{#</form>#}
{#</body>#}
{#</html>#}
{##}






{% extends 'muban.html' %}


{% block lis %}

<form action="" method="post" novalidate>
    {% csrf_token %}
    <p>
        <label for="{{ form_obj1.name.id_for_label }}"> {{ form_obj1.name.label }} :</label>
        {{ form_obj1.name }} <span style="color: red">{{ form_obj1.name.errors.0 }}</span>
    </p>

    <p>
        <label for="{{ form_obj1.des.id_for_label }}"> {{ form_obj1.des.label }} :</label>
        {{ form_obj1.des }} <span style="color: red">{{ form_obj1.des.errors.0 }}</span>
    </p>

    <p>
        <label for="{{ form_obj1.ass_id.id_for_label }}"> {{ form_obj1.ass_id.label }} :</label>
        {{ form_obj1.ass_id }} <span style="color: red">{{ form_obj1.ass_id.errors.0 }}</span>
    </p>

    <p>
        <label for="{{ form_obj1.c_name.id_for_label }}"> {{ form_obj1.c_name.label }} :</label>
        {{ form_obj1.c_name }} <span style="color: red">{{ form_obj1.c_name.errors.0 }}</span>
    </p>
    <p>
        <label for="{{ form_obj1.peo.id_for_label }}"> {{ form_obj1.peo.label }} :</label>
        {{ form_obj1.peo }} <span style="color: red">{{ form_obj1.peo.errors.0 }}</span>
    </p>


    {{ form_obj1.errors }}

    <button>添加</button>

</form>

{% endblock %}

{% block i1 %}
    class='active'
{% endblock %}




